//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "editor\fn_status.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_param","_objective_name","_return"];
_return = false;

_param = _this;
if (IS_ARRAY(_this)) then {
	if (count _this > 0) then {
		_param = _this select 0;
	};
};
if (IS_SCALAR(_param)) then {
	_objective_name = format [TMF_EDITOR_OBJECTIVE,_param];
	_return = [TMF_SERVER_INSTANCE_ID,_objective_name,false] call FFUNC(getMissionVar);
};
TRACE_1("End",_return);
TMFPROFILERSTOP;
_return;